const env = process.env.NODE_ENV

const WX_BASE_URL = 'https://api.weixin.qq.com'
const WX_API = {
  GET_ACCESS_TOKEN: `${WX_BASE_URL}/cgi-bin/token`,
  GET_SERVERS_IP: `${WX_BASE_URL}/cgi-bin/get_api_domain_ip`,
  SEND_TEMPLATE: `${WX_BASE_URL}/cgi-bin/message/template/send`,
  GET_TICKET: `${WX_BASE_URL}/cgi-bin/ticket/getticket`,
}

export default {
  CASBIN: {
    ENFORCER_PROVIDER_NAME: 'ENFORCER',
  },
  WINSTON: {
    LOGGER_PROVIDER_NAME: 'W_LOGGER',
  },
  API: {
    WX_API,
  },
}
